home *** CD-ROM | disk | FTP | other *** search
- /*
- FC_Dataspace Header
- */
-
- #include <exec/memory.h>
- #include <libraries/iffparse.h>
- #include <libraries/feelin.h>
-
- #include <proto/exec.h>
- #include <proto/iffparse.h>
- #include <proto/utility.h>
- #include <proto/feelin.h>
-
- extern struct FeelinBase *FeelinBase;
- #define SysBase FeelinBase->SYS
- #define DOSBase FeelinBase->DOS
- #define UtilityBase FeelinBase->Utility
- extern struct Library *IFFParseBase;
-
- /*** Dynamics **************************************************************/
-
- enum { // Methods
-
- FM_Dataspace_Add,
- FM_Dataspace_Remove,
- FM_Dataspace_Find,
- FM_Dataspace_Clear,
- FM_Dataspace_Merge,
- FM_Dataspace_ReadIFF,
- FM_Dataspace_WriteIFF
-
- };
-
- enum { // Attributes
-
- FA_Dataspace_Pool
-
- };
-
- /*** Structures ************************************************************/
-
- struct LocalObjectData
- {
- ULONG Flags;
- APTR Pool;
- struct FeelinList Chunks;
- };
-
- struct FeelinChunkData
- {
- struct FeelinNode *Next;
- struct FeelinNode *Prev;
- /* end of FeelinNode header */
- ULONG ID;
- ULONG Size;
- /* data bellow */
- };
-
- #define FF_Dataspace_Allocated (1L << 0)
-